import java.util.Iterator;


public class Test {
    final static int ITERATIONS = 1000;
    static volatile int j = 100;
    static volatile long t = 0;
    
    public static void main(String[] args) {
        
        for (int i = 0; i < ITERATIONS; i++) {
            t += System.nanoTime();
            j++;
            t -= System.nanoTime();
        }
        System.out.println(j);
        System.out.println(t / ITERATIONS);
    }
}
